var express = require('express');
var router = express.Router();
let { getDateService,addDataService ,delDataService,updateDataService,getDataUnOpenService} = require('../service/publicService');
// 获得学生列表
router.get('/getStudents', getDateService)
// 获得未授权学生
router.get('/getUnOpenStudent', getDataUnOpenService)

// 学生新增
router.post('/addStudent', addDataService)

// 学生删除
router.post('/delStudent', delDataService)

// 学生修改
router.post('/updateStudent', updateDataService);

module.exports = router;